package org.oslims.server.dao;

import java.util.List;

import org.oslims.domain.AbstractSample;
import org.oslims.domain.Analysis;
import org.oslims.domain.AnalysisResult;

public interface AnalysisResultDao extends BaseDao<AnalysisResult, Long> {

	public List<AnalysisResult> findBySample(AbstractSample abstractSample);

	public List<AnalysisResult> findBySampleAndAnalysisAndState(AbstractSample abstractSample, Analysis analysis, String state);

	public List<AnalysisResult> findBySampleAndState(AbstractSample abstractSample, String state);

	public List<String> getAnalysisStatesForSample(String sampleCode);
}
